package com.lagou.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * 自动注入
 * @author zhao yudong
 */
@Component
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MyAutowired {

    boolean value() default true;
}
